package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.entity.Xueya;
import com.yl.auth.mapper.XueyaMapper;
import com.yl.auth.model.vo.XueyaVo;
import com.yl.auth.service.XueyaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ln
 * @since 2023-06-16
 */
@Service
public class XueyaServiceImpl extends ServiceImpl<XueyaMapper, Xueya> implements XueyaService {

    @Resource
    private XueyaMapper xueyaMapper;

    @Override
    public IPage<XueyaVo> findAllPage(Page<XueyaVo> pageParam, XueyaVo xueyaVo) {
        IPage<XueyaVo> page = xueyaMapper.findAllPage(pageParam, xueyaVo);
        return page;
    }
}
